package com.xuecheng.content.mapper;

import com.xuecheng.content.model.po.CourseAudit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 勾新杰
 * @since 2025-02-15
 */
public interface CourseAuditMapper extends BaseMapper<CourseAudit> {

    /**
     * 根据课程id查询该课程最新的课程审核记录
     * @param courseId 课程id
     * @return 课程审核记录
     */
    CourseAudit selectLatestByCourseId(Long courseId);
}
